﻿using QG.FrontDesk.Model;
using System.Collections.Generic;

namespace QG.FrontDesk.BLL.IService
{
    public interface IResumeService
    {

        /// <summary>
        /// 得到所有简历信息
        /// </summary>
        /// <returns></returns>
        List<ResumeInfo> GetResumeInfos();

        /// <summary>
        /// 期望工作——获取期望城市
        /// </summary>
        /// <returns></returns>
        List<Cityinfo> GetCityinfos();


        /// <summary>
        /// 获取简历信息
        /// </summary>
        /// <param name="rid"></param>
        /// <returns></returns>
        ResumeInfo GetResumeInfo(int rid);

        /// <summary>
        /// 修改“用户信息表”
        /// </summary>
        /// <param name="userInfo"></param>
        /// <returns></returns>
        int UpdateUserInfo(UserInfo userInfo);

        /// <summary>
        /// 修改“期望工作表”
        /// </summary>
        /// <param name="expecttoWork"></param>
        /// <returns></returns>
        int UpdateExpectToWork(ExpecttoWork expecttoWork);

        /// <summary>
        /// 修改“工作经历表”
        /// </summary>
        /// <param name="businessexperien"></param>
        /// <returns></returns>
        int UpdateBusinessexperien(Businessexperien businessexperien);

        /// <summary>
        /// 修改“项目经验表”
        /// </summary>
        /// <param name="projectExperien"></param>
        /// <returns></returns>
        int UpdateProjectExperien(ProjectExperien projectExperien);

        /// <summary>
        /// 修改“教育背景表”
        /// </summary>
        /// <param name="educational"></param>
        /// <returns></returns>
        int UpdateEducation(Educational educational);

        /// <summary>
        /// 修改“作品展示表”
        /// </summary>
        /// <param name="worksShow">作品展示表</param>
        /// <returns></returns>
        int UpdateWorksShow(WorksShow worksShow);

        /// <summary>
        /// 根据id 查询工作经历表
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Businessexperien GetBusinessexperien(int id);

        /// <summary>
        /// 新增简历附件（文件上传）
        /// </summary>
        /// <param name="resumeInfo"></param>
        /// <returns></returns>
        int AddResumePath(ResumeInfo resumeInfo);
    }
}
